Xbasic

XBASIC_ERROR_LOG Function

Syntax

V XBASIC_ERROR_LOG(C filename [,L log_handled])

Arguments

filenameCharacter

The name of a log file.

log_handledLogical

Default = .F.

Description

For internal use only. Logs errors in the currently running thread to a file.

Discussion

LogFile The name of the log file to created, if the thread unexpectedly exits. The XBASIC_ERROR_LOG() function defines an error log for a thread's code. If the thread unexpectedly exits, a file by this name will be created containing the error and a time stamp. If the file already exists, new entries will be appended.

Limitations

Desktop applications only.

See Also